#ifndef WALL_H_INCLUDED
#define WALL_H_INCLUDED

#include "common.h"
#include "block.h"

class Wall:public Block{

    private:
        int _coord[4];
        ALLEGRO_BITMAP* _img;

        Resources::e_Images getPoleImg(int);

    public:
        Wall(int, int, int , int);

        inline int type() { return WALL; }
        std::string saveString();
        Block* copy();
        ALLEGRO_BITMAP* render();

        void mount_img();

        inline int coord(int c) const { return _coord[c]; }

        ~Wall();
};

#endif // WALL_H_INCLUDED
